#!/usr/bin/env python
# _*_ coding: utf-8 _*_
# @Time : 2022/6/12 17:55
# @Author : Violet
# @File : router.py
# @desc : 路由
from fastapi import FastAPI
from api import api_router
from core import settings


# ---------------------------------------------美观线-------------------------------------------------------


def register_router(app: FastAPI):
    """ 注册路由 """
    app.include_router(api_router, prefix=settings.API_PREFIX)
